\section{src/library/debug.h \-File \-Reference}
\label{debug_8h}\index{src/library/debug.\-h@{src/library/debug.\-h}}
{\ttfamily \#include $<$config.\-h$>$}\*
{\ttfamily \#include $<$assert.\-h$>$}\*
{\ttfamily \#include $<$stdio.\-h$>$}\*
{\ttfamily \#include $<$stdlib.\-h$>$}\*
{\ttfamily \#include $<$string.\-h$>$}\*
\-Include dependency graph for debug.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{debug_8h__incl}
\end{center}
\end{figure}
\-This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{debug_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{\-Defines}
\begin{DoxyCompactItemize}
\item 
\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-A\-L\-L}~1
\begin{DoxyCompactList}\small\item\em \-Debug all process. \end{DoxyCompactList}\item 
\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-T\-A\-G}~1
\begin{DoxyCompactList}\small\item\em \-Debug instruction tag. \end{DoxyCompactList}\item 
\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S}~1
\begin{DoxyCompactList}\small\item\em \-Debug instruction properties. \end{DoxyCompactList}\item 
\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-O\-P\-C\-O\-D\-E\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S}~1
\begin{DoxyCompactList}\small\item\em \-Debug operation codes attributes. \end{DoxyCompactList}\item 
\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-E\-L\-F\-\_\-\-H\-E\-A\-D\-E\-R\-\_\-\-P\-R\-O\-C\-E\-S\-S}~1
\begin{DoxyCompactList}\small\item\em \-Debug \-E\-L\-F header process. \end{DoxyCompactList}\item 
\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-D\-E\-C\-O\-D\-E\-\_\-\-N\-E\-X\-T\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}~1
\begin{DoxyCompactList}\small\item\em \-Debug next instruction. \end{DoxyCompactList}\item 
\#define {\bf \-P\-R\-I\-N\-T\-\_\-\-D\-E\-B\-U\-G}(fmt, args...)
\begin{DoxyCompactList}\small\item\em \-Print \-Debug. \end{DoxyCompactList}\item 
\#define {\bf \-S\-T\-A\-T\-U\-S\-\_\-\-E\-R\-R\-O\-R}~1
\begin{DoxyCompactList}\small\item\em \-Response code when a process was run efficiently. \end{DoxyCompactList}\item 
\#define {\bf \-S\-T\-A\-T\-U\-S\-\_\-\-S\-U\-C\-C\-E\-S\-S}~0
\begin{DoxyCompactList}\small\item\em \-Response code when a process has performed an error in its execution. \end{DoxyCompactList}\item 
\#define {\bf \-E\-R\-R\-O\-R}(x)~(x!=0)
\begin{DoxyCompactList}\small\item\em \-Show error. \end{DoxyCompactList}\item 
\#define {\bf \-E\-R\-R\-O\-R\-\_\-\-H\-A\-N\-D\-L\-E}(x)~if({\bf \-E\-R\-R\-O\-R}(x))\{fprintf(stderr,\char`\"{}\-Wrong use of program!!!$\backslash$n\char`\"{});exit(\-E\-X\-I\-T\-\_\-\-F\-A\-I\-L\-U\-R\-E);\}
\begin{DoxyCompactList}\small\item\em \-Error during execution of the program, it stops running. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf \-P\-R\-I\-N\-T\-\_\-\-E\-R\-R\-O\-R} (const char $\ast$,...)
\begin{DoxyCompactList}\small\item\em \-Displays the error message. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Define \-Documentation}
\index{debug.\-h@{debug.\-h}!\-D\-E\-B\-U\-G\-\_\-\-A\-L\-L@{\-D\-E\-B\-U\-G\-\_\-\-A\-L\-L}}
\index{\-D\-E\-B\-U\-G\-\_\-\-A\-L\-L@{\-D\-E\-B\-U\-G\-\_\-\-A\-L\-L}!debug.h@{debug.\-h}}
\subsubsection[{\-D\-E\-B\-U\-G\-\_\-\-A\-L\-L}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-A\-L\-L}~1}\label{debug_8h_a41d588ee907c299c7a790964deeef02d}


\-Debug all process. 



\-Definition at line 21 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-D\-E\-B\-U\-G\-\_\-\-D\-E\-C\-O\-D\-E\-\_\-\-N\-E\-X\-T\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N@{\-D\-E\-B\-U\-G\-\_\-\-D\-E\-C\-O\-D\-E\-\_\-\-N\-E\-X\-T\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}}
\index{\-D\-E\-B\-U\-G\-\_\-\-D\-E\-C\-O\-D\-E\-\_\-\-N\-E\-X\-T\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N@{\-D\-E\-B\-U\-G\-\_\-\-D\-E\-C\-O\-D\-E\-\_\-\-N\-E\-X\-T\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}!debug.h@{debug.\-h}}
\subsubsection[{\-D\-E\-B\-U\-G\-\_\-\-D\-E\-C\-O\-D\-E\-\_\-\-N\-E\-X\-T\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-D\-E\-C\-O\-D\-E\-\_\-\-N\-E\-X\-T\-\_\-\-I\-N\-S\-T\-R\-U\-C\-T\-I\-O\-N}~1}\label{debug_8h_afb7d6d1394874eb9a80612633f0256ef}


\-Debug next instruction. 



\-Definition at line 28 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-D\-E\-B\-U\-G\-\_\-\-E\-L\-F\-\_\-\-H\-E\-A\-D\-E\-R\-\_\-\-P\-R\-O\-C\-E\-S\-S@{\-D\-E\-B\-U\-G\-\_\-\-E\-L\-F\-\_\-\-H\-E\-A\-D\-E\-R\-\_\-\-P\-R\-O\-C\-E\-S\-S}}
\index{\-D\-E\-B\-U\-G\-\_\-\-E\-L\-F\-\_\-\-H\-E\-A\-D\-E\-R\-\_\-\-P\-R\-O\-C\-E\-S\-S@{\-D\-E\-B\-U\-G\-\_\-\-E\-L\-F\-\_\-\-H\-E\-A\-D\-E\-R\-\_\-\-P\-R\-O\-C\-E\-S\-S}!debug.h@{debug.\-h}}
\subsubsection[{\-D\-E\-B\-U\-G\-\_\-\-E\-L\-F\-\_\-\-H\-E\-A\-D\-E\-R\-\_\-\-P\-R\-O\-C\-E\-S\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-E\-L\-F\-\_\-\-H\-E\-A\-D\-E\-R\-\_\-\-P\-R\-O\-C\-E\-S\-S}~1}\label{debug_8h_a36e70ecf5c28440bbbc51209f8525cd8}


\-Debug \-E\-L\-F header process. 



\-Definition at line 26 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-O\-P\-C\-O\-D\-E\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S@{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-O\-P\-C\-O\-D\-E\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S}}
\index{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-O\-P\-C\-O\-D\-E\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S@{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-O\-P\-C\-O\-D\-E\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S}!debug.h@{debug.\-h}}
\subsubsection[{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-O\-P\-C\-O\-D\-E\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-O\-P\-C\-O\-D\-E\-\_\-\-A\-T\-T\-R\-I\-B\-U\-T\-E\-S}~1}\label{debug_8h_a15007e4e2267545106fa29e4bc9af4aa}


\-Debug operation codes attributes. 



\-Definition at line 24 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S@{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S}}
\index{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S@{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S}!debug.h@{debug.\-h}}
\subsubsection[{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-P\-R\-O\-P\-E\-R\-T\-I\-E\-S}~1}\label{debug_8h_a9c1c407ee7220e1daa2a97e62421bb54}


\-Debug instruction properties. 



\-Definition at line 23 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-T\-A\-G@{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-T\-A\-G}}
\index{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-T\-A\-G@{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-T\-A\-G}!debug.h@{debug.\-h}}
\subsubsection[{\-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-T\-A\-G}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-D\-E\-B\-U\-G\-\_\-\-I\-N\-S\-\_\-\-T\-A\-G}~1}\label{debug_8h_aad1c4e453ff8b99c5cd2a75b213b00c8}


\-Debug instruction tag. 



\-Definition at line 22 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-E\-R\-R\-O\-R@{\-E\-R\-R\-O\-R}}
\index{\-E\-R\-R\-O\-R@{\-E\-R\-R\-O\-R}!debug.h@{debug.\-h}}
\subsubsection[{\-E\-R\-R\-O\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-E\-R\-R\-O\-R}(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~(x!=0)}\label{debug_8h_abac57baaff13f3a1ddbb0c8a193b7e32}


\-Show error. 



\-Definition at line 42 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-E\-R\-R\-O\-R\-\_\-\-H\-A\-N\-D\-L\-E@{\-E\-R\-R\-O\-R\-\_\-\-H\-A\-N\-D\-L\-E}}
\index{\-E\-R\-R\-O\-R\-\_\-\-H\-A\-N\-D\-L\-E@{\-E\-R\-R\-O\-R\-\_\-\-H\-A\-N\-D\-L\-E}!debug.h@{debug.\-h}}
\subsubsection[{\-E\-R\-R\-O\-R\-\_\-\-H\-A\-N\-D\-L\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-E\-R\-R\-O\-R\-\_\-\-H\-A\-N\-D\-L\-E}(
\begin{DoxyParamCaption}
\item[{}]{x}
\end{DoxyParamCaption}
)~if({\bf \-E\-R\-R\-O\-R}(x))\{fprintf(stderr,\char`\"{}\-Wrong use of program!!!$\backslash$n\char`\"{});exit(\-E\-X\-I\-T\-\_\-\-F\-A\-I\-L\-U\-R\-E);\}}\label{debug_8h_a98aafdfca4299b38248719c97faefb7a}


\-Error during execution of the program, it stops running. 



\-Definition at line 43 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-P\-R\-I\-N\-T\-\_\-\-D\-E\-B\-U\-G@{\-P\-R\-I\-N\-T\-\_\-\-D\-E\-B\-U\-G}}
\index{\-P\-R\-I\-N\-T\-\_\-\-D\-E\-B\-U\-G@{\-P\-R\-I\-N\-T\-\_\-\-D\-E\-B\-U\-G}!debug.h@{debug.\-h}}
\subsubsection[{\-P\-R\-I\-N\-T\-\_\-\-D\-E\-B\-U\-G}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-P\-R\-I\-N\-T\-\_\-\-D\-E\-B\-U\-G}(
\begin{DoxyParamCaption}
\item[{}]{fmt, }
\item[{}]{args...}
\end{DoxyParamCaption}
)}\label{debug_8h_a1b7e26bb727a722ca100ed856b4e1d98}


\-Print \-Debug. 



\-Definition at line 35 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-S\-T\-A\-T\-U\-S\-\_\-\-E\-R\-R\-O\-R@{\-S\-T\-A\-T\-U\-S\-\_\-\-E\-R\-R\-O\-R}}
\index{\-S\-T\-A\-T\-U\-S\-\_\-\-E\-R\-R\-O\-R@{\-S\-T\-A\-T\-U\-S\-\_\-\-E\-R\-R\-O\-R}!debug.h@{debug.\-h}}
\subsubsection[{\-S\-T\-A\-T\-U\-S\-\_\-\-E\-R\-R\-O\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-S\-T\-A\-T\-U\-S\-\_\-\-E\-R\-R\-O\-R}~1}\label{debug_8h_ae4a97f0d170bc8dc771aac6c4f38ad1d}


\-Response code when a process was run efficiently. 



\-Definition at line 40 of file debug.\-h.

\index{debug.\-h@{debug.\-h}!\-S\-T\-A\-T\-U\-S\-\_\-\-S\-U\-C\-C\-E\-S\-S@{\-S\-T\-A\-T\-U\-S\-\_\-\-S\-U\-C\-C\-E\-S\-S}}
\index{\-S\-T\-A\-T\-U\-S\-\_\-\-S\-U\-C\-C\-E\-S\-S@{\-S\-T\-A\-T\-U\-S\-\_\-\-S\-U\-C\-C\-E\-S\-S}!debug.h@{debug.\-h}}
\subsubsection[{\-S\-T\-A\-T\-U\-S\-\_\-\-S\-U\-C\-C\-E\-S\-S}]{\setlength{\rightskip}{0pt plus 5cm}\#define {\bf \-S\-T\-A\-T\-U\-S\-\_\-\-S\-U\-C\-C\-E\-S\-S}~0}\label{debug_8h_ae56fdb340b23940f7a64ed2e37c1774a}


\-Response code when a process has performed an error in its execution. 



\-Definition at line 41 of file debug.\-h.



\subsection{\-Function \-Documentation}
\index{debug.\-h@{debug.\-h}!\-P\-R\-I\-N\-T\-\_\-\-E\-R\-R\-O\-R@{\-P\-R\-I\-N\-T\-\_\-\-E\-R\-R\-O\-R}}
\index{\-P\-R\-I\-N\-T\-\_\-\-E\-R\-R\-O\-R@{\-P\-R\-I\-N\-T\-\_\-\-E\-R\-R\-O\-R}!debug.h@{debug.\-h}}
\subsubsection[{\-P\-R\-I\-N\-T\-\_\-\-E\-R\-R\-O\-R}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-P\-R\-I\-N\-T\-\_\-\-E\-R\-R\-O\-R} (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{, }
\item[{}]{...}
\end{DoxyParamCaption}
)}\label{debug_8h_ac74b605fbf4eb6226c9cdc9f3c64c98c}


\-Displays the error message. 



\-Definition at line 24 of file debug.\-c.

